const getters = {
    token: state => state.user.token,
    nickname: state => state.user.nickname,
    user: state => state.userinfo,
};

export default getters;
